/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package systole.domain.analysis.results;

import java.math.BigDecimal;

/**
 *
 * @author jmj
 */
public class ParameterIAR extends Parameter{

    /**
	 * 
	 */
	private static final long serialVersionUID = -7708886528140930577L;

	/**
	 * 
	 */
	public ParameterIAR() {
        this.setDescription(ParametersKind.IAR);
    }

    /**
     * Calcula en base a sus parametros el valor contenido
     *
     * @return calculated value
     */
    public BigDecimal calculateParamValue(){
        return (this.getEndPos().getyCoord().subtract(this.getInitPos().getyCoord()));
    }


}
